.PHONY: all clean

all: ChatClient ChatClientRecord ChatMessage IterativeChatServer TaskExecutionChatServer RMI DummyClient

RMI: ChatClientRMI TaskExecutionChatServerRMI GeneratePolicies

ChatClient: ChatClient.java
	javac ChatClient.java

ChatClientRMI: ChatClientRMI.java
	javac ChatClientRMI.java

ChatClientRecord: ChatClientRecord.java
	javac ChatClientRecord.java

ChatMessage: ChatMessage.java
	javac ChatMessage.java

IterativeChatServer: IterativeChatServer.java
	javac IterativeChatServer.java

TaskExecutionChatServer: TaskExecutionChatServer.java
	javac TaskExecutionChatServer.java

TaskExecutionChatServerRMI: TaskExecutionChatServerRMI.java
	javac TaskExecutionChatServerRMI.java

DummyClient: DummyClient.java ChatClient.java
	javac DummyClient.java

GeneratePolicies: generatePolicies.sh
	./generatePolicies.sh

clean:
	rm -rf *.class *.policy runClient.sh
